package com.gitee.mars.studyabroad.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;

/**
 * 实体类
 *
 * @author: wq
 * @date: 2021-04-21
 */
@Data
@TableName("abroad_school")
public class AbroadSchool implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    /**
     * 地址
     */
    @TableField("address")
    private String address;

    /**
     * 图片
     */
    @TableField("image")
    private String image;

    @TableField("sort")
    private Integer sort;

    /**
     * 介绍
     */
    @TableField("introduction")
    private String introduction;

    /**
     * 类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 国家ID
     */
    @TableField("country_id")
    private Integer countryId;

}
